<?php

use yii\helpers\Html;


$this->title = Yii::t('app.cruise', 'Create Template');
$this->params['breadcrumbs'][] = ['label' => Yii::t('app', 'Templates'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="template-create">

    <h2 class="page-header"><?= Html::encode($this->title) ?>&nbsp;<small><?= $model->cruise->name ?></small>
        <p class="pull-right">
            <?= Html::a(Yii::t('app', 'Index'), ['index', 'cruise_id'=>$model->cruise_id], ['class' => 'btn btn-danger']) ?>
        </p>
    </h2>

    <?= $this->render('_form', [
        'model' => $model,
    ]) ?>

</div>
